package com.ssy.lingxi.purchase.api.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 采购计划明细 - 详情
 * @author fhj
 * @date 2021/03/03
 * @version 2.0.0
 */
@Data
public class PurchasePlanDetailsResponse {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "采购计划ID")
    private Long purchasePlanId;

    @ApiModelProperty(value = "物料编号")
    private String number;

    @ApiModelProperty(value = "物料名称")
    private String name;

    @ApiModelProperty(value = "规格型号")
    private String model;

    @ApiModelProperty(value = "品类")
    private String category;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "成本价")
    private Double costPrice;

    @ApiModelProperty(value = "采购数量")
    private Double purchaseCount;

    @ApiModelProperty(value = "采购金额")
    private Double purchasePrice;

    @ApiModelProperty(value = "采购需求计划明细集合")
    private List<PurchaseNeedPlanDetailResponse> purchaseNeedPlanDetailList;
}
